package com.ctrip.framework.apollo.demo.spring.javaConfigDemo;

import com.ctrip.framework.apollo.spring.annotation.EnableApolloConfig;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

@Component
@EnableApolloConfig
public class TxcConfig {

    @Value("${spring.dubbo.application.name}")
    public String applicationName;
}